package com.lframework.starter.web.core.annotations.permission;

import com.lframework.starter.web.core.components.permission.SysDataPermissionDataPermissionType;

import java.lang.annotation.*;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface DataPermissions {

    Class<? extends SysDataPermissionDataPermissionType> type();

    DataPermission[] value();
}
